package com.crazy.model.major.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author zhaochaofeng
 * @version 1.0
 * @date 2020/12/3 11:05
 */
@Data
public class ArticleDto {
    private Long id;
    private String titleName;
    private String content;
    private Integer type;
    private Long userId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private Long readTimes;
    private String labelNames;
    private Integer isPublic;
    private Integer isRelease;
}
